package com.noodles.mall.util;

public class Constant {
    /** 启用 **/
    public static final Integer ENABLED = 1;

    /** 禁用 **/
    public static final Integer DISABLED = 0;

    /** 文件类型，图片 **/
    public static final String IMAGE_TYPE = "image";

    /** 订单状态，未付款 **/
    public static final Integer ORDER_UNPAID = 0;

    /** 订单状态，已付款 **/
    public static final Integer ORDER_PAID = 1;

    /** 订单状态，未发货 **/
    public static final Integer ORDER_NOSHIPPED = 2;

    /** 订单状态，已发货 **/
    public static final Integer ORDER_SHIPPED = 3;

    /** 订单状态，交易成功 **/
    public static final Integer ORDER_SUCCESS = 4;

    /** 订单状态，交易关闭 **/
    public static final Integer ORDER_CLOSE = 5;

    /** 订单状态，交易失败 **/
    public static final Integer ORDER_FAIL = 6;

    /** 角色，管理员 **/
    public static final String ROLE_ADMIN = "admin";

    /** 角色，商户 **/
    public static final String ROLE_BUSINESS = "business";

    /** 角色，会员 **/
    public static final String ROLE_MEMBER = "member";

    /** 性别: 男 **/
    public static final Integer SEX_MAN = 1;

    /** 性别: 女 **/
    public static final Integer SEX_WOMAN = 0;

    /** 推荐分数，浏览 + 1 **/
    public static final Double RECOMMEND_SCORE_1 = 1.0;

    /** 推荐分数，添加购物车 + 2 **/
    public static final Double RECOMMEND_SCORE_2 = 2.0;

    /** 推荐分数，生成订单 + 3 **/
    public static final Double RECOMMEND_SCORE_3 = 3.0;

    /** 推荐分数，购买 + 4 **/
    public static final Double RECOMMEND_SCORE_4 = 4.0;
}
